package com.gmzg.gmzgnews.news.interfaces;

import com.gmzg.gmzgnews.news.entries.HeadTop;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Jasen on 2016 2016/11/1.16:00
 * Email:1142803753@qq.com
 * weixin: aserbao
 */

public interface HeadGetData {
    @GET("/api/top/{category}")
    Call<HeadTop> getList(@Path("category") String category, @Query("id") int id, @Query("rows") int rows, @Query("classify")
            int classify);
}
